package com.ncs.leisure.beans.business.dao.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity																				
@Table(name="beans_MapTemplate")
public class BeansMapTemplate {

	//索引
	
	Integer id;
	
	//地图名称
	
	String name;
	
	//地图序列
	
	String mapbase;
	
	//人数
	
	int personnum;
	
	//难度
	
	int diffcult;
	
	//展示图片
	
	String img;
	
	//
	
	int taskId;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name="name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name="mapbase")
	public String getMapbase() {
		return mapbase;
	}

	public void setMapbase(String mapbase) {
		this.mapbase = mapbase;
	}

	@Column(name="personnum")
	public int getPersonnum() {
		return personnum;
	}

	public void setPersonnum(int personnum) {
		this.personnum = personnum;
	}

	@Column(name="difficult")
	public int getDiffcult() {
		return diffcult;
	}

	public void setDiffcult(int diffcult) {
		this.diffcult = diffcult;
	}

	@Column(name="img")
	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	@Column(name="task_id")
	public int getTaskId() {
		return taskId;
	}

	public void setTaskId(int taskId) {
		this.taskId = taskId;
	}
	
}
